home
***
CD-ROM
|
disk
|
FTP
|
other
***
search
/
Amiga Plus 2002 #3
/
Amiga Plus CD - 2002 - No. 03.iso
/
AmiSoft
/
Dev
/
C
/
Tinygl.lha
/
TinyGL
/
src
/
error.c
< prev
next >
Encoding:
Amiga
Atari
Commodore
DOS
FM Towns/JPY
Macintosh
Macintosh JP
Macintosh to JP
NeXTSTEP
RISC OS/Acorn
Shift JIS
UTF-8
Wrap
C/C++ Source or Header
|
2000-10-15
|
243 b
|
17 lines
#include <stdarg.h>
#include "zgl.h"
void gl_fatal_error(char *format, ...)
{
va_list ap;
va_start(ap,format);
fprintf(stderr,"TinyGL: fatal error: ");
vfprintf(stderr,format,ap);
fprintf(stderr,"\n");
exit(1);
va_end(ap);
}